package com.xsh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/*
FieldTypeComment
user_idbigint(20) NOT NULL
usernamevarchar(50) NOT NULL用户名
passwordvarchar(100) NULL密码
emailvarchar(100) NULL邮箱
mobilevarchar(100) NULL手机号
statustinyint(4) NULL状态 0：禁用 1：正常
create_user_idbigint(20) NULL创建者ID
create_timedatetime NULL创建时间
dept_idint(11) NULL部门编号
sexvarchar(10) NULL性别
lockdatedatetime NULL*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {

    private Integer userId;
    private String username;
    private String password;
    private String email;
    private String mobile;
    private Integer status;
    private Integer createUserId;
    private Date createTime;
    private Integer deptId;
    private String sex;
    private Date lockdate;
    private String salt;
    private List<Integer> roles;
}
